package com.zx.www.volunteersystem.pojo;

import java.math.BigDecimal;
import java.time.LocalDateTime;

public class Hour_statistics {
    private Integer stat_id;           // 主键
    private Long user_id;              // 外键（关联user表）
    private Integer year;              // 统计年份（如2024）
    private Integer month;             // 统计月份（如10，0表示全年）
    private String college;            // 所属学院（冗余，用于学院统计）
    private BigDecimal total_hours;    // 该周期总时长
    private LocalDateTime update_time;

    public Integer getStat_id() {
        return stat_id;
    }

    public void setStat_id(Integer stat_id) {
        this.stat_id = stat_id;
    }

    public Long getUser_id() {
        return user_id;
    }

    public void setUser_id(Long user_id) {
        this.user_id = user_id;
    }

    public Integer getYear() {
        return year;
    }

    public void setYear(Integer year) {
        this.year = year;
    }

    public Integer getMonth() {
        return month;
    }

    public void setMonth(Integer month) {
        this.month = month;
    }

    public String getCollege() {
        return college;
    }

    public void setCollege(String college) {
        this.college = college;
    }

    public BigDecimal getTotal_hours() {
        return total_hours;
    }

    public void setTotal_hours(BigDecimal total_hours) {
        this.total_hours = total_hours;
    }

    public LocalDateTime getUpdate_time() {
        return update_time;
    }

    public void setUpdate_time(LocalDateTime update_time) {
        this.update_time = update_time;
    }
}